CC=gcc
RM=rm
CFLAGS=-ansi -pedantic -Wall -g
LDFLAGS=-lpthread
EXECS=tserver tclient

all: $(EXECS)

.c:	
	$(CC) $(CFLAGS) $< $(LDFLAGS) -o $@

clean:
	$(RM) $(EXECS)
